#ifndef SEGMENTATION_H
#define SEGMENTATION_H

#include "Energy.h"


class Segmentation : public Energy
{
	public:
		Segmentation(CVImage& image,int smooth);
		virtual ~Segmentation();
		virtual double DataEnergy(uint x,uint y,int label);
		virtual double SmoothEnergy(int lp,int label);
	protected:
	private:
		CVImage *_image;
};

#endif // SEGMENTATION_H
